let str = '<table   width="750" >';

// 目标得到 <table   >

let reg = /\width=['"]\w+['"]\s+/i;

console.log(str.replace(reg, ''))